<?php

namespace App\Models\Admin;

use Illuminate\Database\Eloquent\Model;
//引入系统给实现好的接口方法文件空间
use Illuminate\Auth\Authenticatable;

class Admin extends Model implements \Illuminate\Contracts\Auth\Authenticatable //继承接口
{
    //
    protected $table = 'admin';

    use Authenticatable;//利用代码片段实现接口
}
